package com.rich.common.constant;

/**
 * @Author:fei
 * @Date:2021/8/16
 */
public class Broker {
    public static final String REDIS_YZM_MIN= "_YZM";

    public static final Integer USER_YZM_MIN=1000;
    public static final Integer USER_YZM_MAX=9999;

    /**
     * 当前用户不存在
     */
    public static final Integer USER_EXIST_CODE=0;
    public static final String  USER_EXIST_MESSAGE="当前用户名不存在";

    /**
     * 验证码发送失败
     */

    public static final Integer REDIS_CODE_EXIT=0;
    public static final String  REDIS_CODE_MESSAGE="操作频繁";


    /**
     * 验证码发送失败
     */

    public static final Integer REDIS_CODE_NOEXIT=1;
    public static final String  REDIS_CODE_NOMESSAGE="发送成功";

    /**
     * 验证码验证失败
     */

    public static final Integer REDIS_CODE_NO=1;
    public static final String  REDIS_CODE_NOMESSAGE_EOOR="验证码错误";

    public static final Integer REDIS_CODE_NO_EXIT=0;
    public static final String  REDIS_CODE_NO_EXIT_EOOR="验证码不存在";

    /**
     * 密码错误
     */
    public static final Integer BROKER_PWD_ERROR=0;
    public static final String  BROKER_PWD_ERROR_MESSAGE="密码错误,登录失败";


    /**
     * 登陆成功
     */
    public static final Integer BROKER_LOGIN_SUCCESS=1;
    public static final String  BROKER_LOGIN_SUCCESS_MESSAGE="登录成功";

    /**
     * 登录失败
     */
    public static final Integer BROKER_LOGIN_ERROR=0;
    public static final String  BROKER_LOGIN_ERROR_MESSAGE="登录失败";

    /**
     * 新建经纪人
     */
    public static final String ZERO = "0";
    public static final String ONE = "1";
    public static final Integer ZEROI=0;
    /**
    * es使用  状态码
    * */
    public static final Integer STATUS=200;
}
